FROM registry.cn-hangzhou.aliyuncs.com/zqqq/mysql:5.7
ADD mysqld.cnf /etc/mysql/mysql.conf.d/
ADD vueadmin.sql /docker-entrypoint-initdb.d
ENV MYSQL_ROOT_PASSWORD=root MYSQL_DATABASE=vueadmin
EXPOSE 3306
VOLUME ["/var/lib/mysql"]